<template>
  <div class="mytop">
      <div>
          <van-icon name="scan" />
      </div>
      <div>
          <van-icon name="volume-o" />
          <van-icon name="setting-o" @click="fun()"/>
      </div>
  </div>
</template>

<script>

export default {
   methods:{
       fun(){
           this.$router.push("/myym")
       }
   }
}
</script>

<style scoped>
  .mytop{
      display: flex;
      justify-content: space-between;
      height: .5rem;
      align-items: center;
  }
  .mytop div{
      padding: 0 .15rem;
  }
  i{
      font-size: .25rem;
  }
</style>